package com.space.entity;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
@Data
@Document(collection = "t_user")
public class User1 {
    @Field("id")
    private String id;

    @Field("name")
    private String name;

    @Field("age")
    private int age;
}
